<?php js_validate();?>
<form id="form-validated" class="input" action="<?php echo $own_links;?>save" method="post">
		<input type="hidden" name="cur_id" id="cur_id" value="<?php echo isset($val->cur_id)?$val->cur_id:'';?>" />
		<table class="table-form">
			<tr>
				<td>Kode Mata Uang</td>
				<td><input type="text" id="cur_code" name="cur_code" class="validate[required]" size="5" value="<?php echo isset($val->cur_code)?$val->cur_code:'';?>" /></td>
			</tr>
            <tr>
				<td>Nama Mata Uang</td>
				<td><input type="text" id="cur_name" name="cur_name" class="validate[required]" size="20" value="<?php echo isset($val->cur_name)?$val->cur_name:'';?>" /></td>
			</tr>
            <tr>
				<td>/ Rupiah </td>
				<td><input type="text" id="cur_value_per_rupiah" name="cur_value_per_rupiah" class="validate[required]" size="20" value="<?php echo isset($val->cur_value_per_rupiah)?$val->cur_value_per_rupiah:'';?>" /></td>
			</tr>
			
			<tr><td colspan="2">&nbsp;</td></tr>
			<tr>
				<td><input type="reset" onclick="document.location='<?php echo $own_links;?>'" class="btnbatal" value="Batal" /></td>
				<td align="right"><input type="submit" class="btnsimpan" value="Simpan" /></td>
			</tr>
		</table>
	</form>